package Com.amit.Java_New_Feature;

public class Lab20 {

	enum Day
	{
		SUNDAY,MONDAY,TUESDAY,WEDNESDAY,THRUSDAY,FRIDAY,SATURDAY
		
	}
	
	public static void main(String[] args) {
		
		Day d=Day.WEDNESDAY;
		
		switch (d) {
		
		case SUNDAY:
			System.out.println(" it is sunday");
			break;
			
		case MONDAY:
			System.out.println("Monday");
			break;

		default:
			System.out.println("Default");
			break;
	}
		
	}
}
